package entity;

import java.util.Date;

public class Student {
    private int id;//id
    private String sid;//学号
    private String sname;//学生姓名
    private String sex;//性别
    private Date birthday;//出生日期
    private String email;//email
    private String remarks;//备注

    public Student() {
    }

    public Student(String sid, String sname, String sex, Date birthday, String email, String remarks) {
        this.sid = sid;
        this.sname = sname;
        this.sex = sex;
        this.birthday = birthday;
        this.email = email;
        this.remarks = remarks;
    }

    public Student(String sid, String sname, String sex, String email, String remarks) {
        this.sid = sid;
        this.sname = sname;
        this.sex = sex;
        this.email = email;
        this.remarks = remarks;
    }

    public Student(int id, String sid, String sname, String sex, Date birthday, String email, String remarks) {
        this.id = id;
        this.sid = sid;
        this.sname = sname;
        this.sex = sex;
        this.birthday = birthday;
        this.email = email;
        this.remarks = remarks;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid='" + sid + '\'' +
                ", sname='" + sname + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday='" + birthday + '\'' +
                ", email='" + email + '\'' +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
